package com.lq.ecoldchain.util

import timber.log.Timber

/*
*2018/12/21 0021  12:56
*function by lq
*/
fun initLogger(isDebug:Boolean=true){
    if(isDebug)
        Timber.plant(Timber.DebugTree())


}

 fun log(value:()->String) = logd(value)

 fun logd(value:()->String) = Timber.d(value())

 fun logi(value:()->String) = Timber.i(value())

 fun logw(value:()->String) = Timber.w(value())

 fun loge(value:()->String) = Timber.e(value())